package org.itboys.mdl.entity.mongo.meal;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.math.BigDecimal;

/**
 * 作者：zzq
 * 时间：2017/11/30
 * 描述：迈迪龙_套餐商品
 */
@Entity(value="MdlMealProduct", noClassnameStored=true)
public class MdlMealProduct extends BaseMongoEntity{
    private Long mealId;//套餐id
    private Long productId;//产品Id
    private String name;//产品名称
    private String number;//产品编号
    private String image;//产品图片
    private String standard;//规格
    private Integer num;//数量
    private BigDecimal price;//零售价或销售价
    private Integer type;


    public MdlMealProduct() {
    }

    public Long getMealId() {
        return mealId;
    }

    public void setMealId(Long mealId) {
        this.mealId = mealId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
